package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Appointment;
import cn.wolfcode.car.business.domain.BpmnInfo;
import cn.wolfcode.car.business.query.BpmnInfoQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * 预约服务接口
 */
public interface IBpmnInfoServicePlus extends IService<BpmnInfo> {


    TablePageInfo<BpmnInfo> query(BpmnInfoQuery qo);

    void deploy(String bpmnPath, String bpmnType, String info) throws FileNotFoundException;

    void delete(Long id);

    InputStream getResourceAsStream(String deploymentId, String type);
}
